<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>我的|团购网</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="shortcut icon" href="img/tuangou.ico" />
		<link rel="stylesheet" type="text/css" href="css/common.css"/>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="css/my.css"/>
	</head>
	<body>
		<!-- 头部s -->
		<header class="clearfix">
			<div class="back fl"><a href="https://wei8ba.gitee.io/shop/homepage.html">Back</a></div>
			<div class="letter fr">
			<img src="img/letter.png"/>
			</div>
			<div class="title">我的</div>
		</header>
		<!-- 头部e -->
		
		<!-- 主体s -->
		<section>
			<!-- 登录部分 -->
			<div class="login clearfix">
				<div class="touxiang fl">
					<img src="img/touxiang.png"/>
				</div>
				<div class="word fl">
					<p class="p1">点击登录</p>
					<p class="p2">常居住地未设置</p>
				</div>
				<div class="icon fr">
					>
				</div>
			</div>
			<!-- 功能栏 -->
			<div class="function">
				<div class="fc1">
					<img src="img/fc1.png"/>
					<p>我的点评</p>
				</div>
				<div class="fc2">
					<img src="img/fc2.png"/>
					<p>我的收藏</p>
				</div>
				<div class="fc3">
					<img src="img/fc3.png"/>
					<p>我的优惠券</p>
				</div>
			</div>
			<!-- 其他功能 -->
			<div>
				<div class="title clearfix" >
					<div class="img-box fl">
						<img class="icon1" src="img/moneybag.png"/>
					</div>				
					<p class="fl p1">我的钱包</p>
					<img class="fr more" src="img/more.png"/>
					<p class="fr p2">更多</p>
				</div>
				<div class="title clearfix" >
					<div class="img-box fl">
						<img class="icon2" src="img/hold.png"/>
					</div>					
					<p class="fl p1">待点评</p>
					<img class="fr more" src="img/more.png"/>
					<p class="fr p2">更多</p>
				</div>
				<div class="title clearfix" >
					<div class="img-box fl">
						<img class="icon3" src="img/foundfriend.png"/>
					</div>					
					<p class="fl p1">找好友</p>
					<img class="fr more" src="img/more.png"/>
					<p class="fr p2">更多</p>
				</div>
				<div class="title clearfix">					
					<div class="img-box fl">
						<img class="icon4" src="img/myfoot.png"/>
					</div>
					<p class="fl p1">我的足迹</p>
					<img class="fr more" src="img/more.png"/>
					<p class="fr p2">更多</p>
				</div>
				<div class="title clearfix set">					
					<div class="img-box fl">
						<img class="icon5" src="img/set.png"/>
					</div>
					<p class="fl p1">设置</p>
					<img class="fr more" src="img/more.png"/>
					<p class="fr p2">更多</p>
				</div>
				<div class="title clearfix">					
					<div class="img-box fl">
						<img class="icon6" src="img/phone.png"/>
					</div>
					<p class="fl p1">联系</p>
					<img class="fr more" src="img/more.png"/>
					<div class="img-box"></div>
					<p class="fr p2">更多</p>
				</div>
			</div>
			<!-- 退出注销 -->
			<div class="quit">
				<span class="quit1">退出</span>
				<span>注销</span>
			</div>
		</section>
		<!-- 主体e -->
		
		<!-- 尾部s -->
		<footer>
			<a class="foot" href="https://wei8ba.gitee.io/shop/homepage.html">
				<img class="homepage" src="img/homepage.png"/>
				<p>首页</p>
			</a>
			<a class="foot" href="https://wei8ba.gitee.io/shop/classification.html">
				<img class="classification" src="img/classification.png"/>
				<p>分类</p>
			</a>
			<a class="foot" href="https://wei8ba.gitee.io/shop/found.html">
				<img class="found" src="img/found.png"/>
				<p>发现</p>
			</div>
			<a class="foot" href="https://wei8ba.gitee.io/shop/my.html">
				<img class="my" src="img/my1.png"/>
				<p>我的</p>
			</a>
		</footer>
		<!-- 尾部e -->
		
		<!-- 脚本 -->
		<script type="text/javascript">
			document.body.style.height = window.innerHeight + "px";
    
    /*动态改变根元素字体大小*/
    function recalc() {
    	//获取客户端宽度
        var clientWidth = document.documentElement.clientWidth;
        if(!clientWidth) return;
        // 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
        document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
        
    }

    function initRecalc() {
        recalc();
        // if(浏览器支持横竖屏切换的事件){横竖屏事件}else{ resize事件 }
        var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
        if(!document.addEventListener) return;
        window.addEventListener(resizeEvt, recalc, false);
        document.addEventListener('DOMContentLoaded', recalc, false);
    }
        initRecalc();

		</script>
		
	</body>
</html>
